package com.example.student.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.student.entity.MyClass;
import com.example.student.generated.entity.Class;
import com.example.student.generated.entity.Student;
import com.example.student.mapper.MyClassMapper;
import com.example.student.service.MyClassService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MyClassServiceImpl extends ServiceImpl<MyClassMapper, MyClass> implements MyClassService {
    @Override
    public List<Class> getAllClassXml()
    {
        return this.baseMapper.getAllClass();
    }

    @Override
    public List<Student> getStudentById(Long id) {
        return this.baseMapper.getStudentById(id);
    }


}
